﻿<sdk:Page	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"	x:Class="Silverlight.LoginPage" 
	Title="LoginPage Page"
	d:DesignWidth="640" d:DesignHeight="480">
	
	<Grid x:Name="LayoutRoot" Background="White" >
		<Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="400" Height="400">
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"/>
				<RowDefinition/>
				<RowDefinition Height="Auto"/>
			</Grid.RowDefinitions>
			<TextBlock TextWrapping="Wrap" Text="Windows Azure SQL Database Backup Manager" VerticalAlignment="Top" Foreground="#FF0097FF" FontWeight="Bold" FontSize="26.667"/>
			<RichTextBox Grid.Row="1" BorderBrush="{StaticResource BorderBrush}" IsReadOnly="True">
				<Paragraph>
					<Run FontWeight="Bold" Text="Disclaimer:">
						<Run.Foreground>
							<SolidColorBrush Color="Red">
								<SolidColorBrush.RelativeTransform>
									<MatrixTransform Matrix="Identity"/>
								</SolidColorBrush.RelativeTransform>
								<SolidColorBrush.Transform>
									<MatrixTransform Matrix="Identity"/>
								</SolidColorBrush.Transform>
							</SolidColorBrush>
						</Run.Foreground>
					</Run>
				</Paragraph>
				<Paragraph>
					<Run Text="-This software is not made by Microsoft and it is not supported by Microsoft."/>
				</Paragraph>
				<Paragraph>
					<Run Text="-There are no guarantees when you use this software."/>
				</Paragraph>
				<Paragraph>
					<Run Text="-This software does not make a &quot;real&quot; database backup of your Windows Azure SQL Database. It just copy and export your database in the BacPac format, using the available Windows Azure SQL Database APIs, in a automated way to a Windows Azure "/>
					<Run FontFamily="Verdana, Arial, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande" Text="Blob "/>
					<Run Text="Storage container."/>
				</Paragraph>
				<Paragraph>
					<Run Text="-Feel free to download/change this free open source project at http://azuresqlstoragebkp.codeplex.com/."/>
				</Paragraph>
				<Paragraph>
					<Run Text="-You can also submit bugs and suggest new features at the CodePlex project site."/>
				</Paragraph>
			</RichTextBox>
			<Border Grid.Row="2" Margin="0,10,0,0" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1" CornerRadius="1">
				<StackPanel Margin="4">
					<TextBlock TextWrapping="Wrap" Text="Login"/>
					<TextBox Text="{Binding LoginUser, Mode=TwoWay}"/>
					<TextBlock TextWrapping="Wrap" Text="Password"/>
                    <PasswordBox Password="{Binding LoginPassword, Mode=TwoWay}"/>
					<Button Content="Login" Margin="0,4,0,0" Command="{Binding LoginCommand}"/>
				</StackPanel>

			</Border>

		</Grid>
	</Grid>
</sdk:Page>